Symptom: Spring load config file applicationcontext.xml error, throw nested exception is og.xml.sax.SAXParseException; linenumber:12; columnnumber:47; Cvc-elt.1: Could not find exception information for the declaration r of element ' beans ' .There are two causes of this exception: first, the configuration file header configuration of the XSD version information is incorrect, resulting in an error parsing. Spring header xsd or DTD check files are foun
Error: cvc-complex-type.2.4.c:the matching wildcard is strict, but no declaration can being found for element ' dubbo:application '.
The reason for this error is that a label does not find a specific profile to refer to.
When spring resolves to a label that you have a Dubbo definition, the definition of the XSD is not found from the specified location in the
Spring Start exception: Cvc-elt.1:cannot find the declaration of element ' beans ' 2008-09-07 22:41
changed the online chat room code today to launch the application test. The result throws a whole bunch of exceptions:-------------------------------------------------------------------------- ------------------ org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:Line 4 in XML document From class path resource [Application
A new MAVEN project was created in Eclipse to learn spring, to configure spring in Service.xml, and to learn the ' facets-oriented spring ', the Service.xml content is as follows:Results Write
Multiple annotations found at the line:-Cvc-complex-type.2.4.c:the matching wildcard is strict, but no declaration can being found for element' Aop:config '.
:Online search solution, see a similar problem is the URL in Xsi:schemalocation is not co
A custom label is developed based on spring. The function test is normal and a compilation error is prompted in myeclipse:
Multiple annotations found at this line:-Cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'FW: annotation-handler '.-Schema_reference.4: Failed to read schema document 'HTTP: // www.300.cn/schema/annotation-handler.xsd', because 1) cocould not findDocument; 2) the document cocoul
Add to defining request Processing Mappings handlermapping - BeanID= "Handlermapping"class= "Org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> Specify the relationship that the request and controller correspond to - Propertyname= "Mappings"ref= "urlmappings"/> Bean> To define a request mapping table map - util:propertiesID= "urlmappings"> propKey= "/hello.form">Hellocontrollerprop> util:properties>Times wrong:Cvc-complex-ty
Configure the XML file in the Dubbo environment process, error after installing the demo configuration of the official website:"Description Resource Path location TypeCvc-complex-type.2.4.c:the matching wildcard is strict, but no declaration can be found for element ' Dubbo:service '. APPLICATIONCONTEXT.XML/DUBBOPROVIDER/SRC Line XML problem"Cause: The dubbo.xsd file could not be found without identifying the Dubbo labelMethod One: Manually add Shema label importMethod Two: Close the legal valid
Eclipse XML error cvc-complex-type.2.4.c:the matching wildcard is strict, but no declaration can being found for element
I believe many people will encounter this trouble, import the project, the project itself without any problems, but the XML error is red. Click on the XML file to find a lot of errors, there are about the interceptor, there is about the action, anyway is the XML a lot of the element has a problem with error. Search at night, some p
Resolve Eclipse Spring Configuration error: Cvc-elt.1:cannot find the declaration of element ' beans '.Referenced file contains errors (http://www.springframework.org/schema/aop/spring-aop-3.1.xsd).The reason is that the corresponding schema file cannot be read from the network, but is actually accessible in the browser.has always shown a red fork in Eclipse, which, of course, does not affect compilation packaging.See if the corresponding schema file
After the project introduced Dubbo, the XML file error: Multiple annotations found at this line:-cvc-complex-type.2.4.c:the matching wildcard are strict, but no declaration can be found for element ' Dubbo:service '.-schema_reference.4:failed to read schema document ' HTTP://CODE.ALIBABATECH.COM/SC Hema/dubbo/dubbo.xsd ', because 1) could not find the document; 2) The document could isn't be read; 3) The root element of the document is not As sho
Reprinted from http://blog.csdn.net/legendj/article/details/9950963Today, when writing the spring AOP example, a red fork appears after adding the spring AOP schema in the Spring.xml file, and the spring configuration file is as follows: XML version= "1.0" encoding= "UTF-8"?> Beansxmlns= "Http://www.springframework.org/schema/beans"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"Xmlns:context= "Http://www.springframework.org/schema/context"XMLNS:AOP= "HTTP://WWW.SPRINGFRAMEWORK.ORG
Org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate ( runaftertestclasscallbacks.java:67) at Org.junit.runners.ParentRunner.run (parentrunner.java:363) at Org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run (springjunit4classrunner.java:162) at Org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run (JUNIT4TESTREFERENCE.JAVA:50) at Org.eclipse.jdt.internal.junit.runner.TestExecution.run (testexecution.java:38) at Org.eclipse.jdt.internal
Today, I don't know why. I suddenly wanted to see the virus code... After Google, we found that the CvC Forum opened again... It seems that I closed it once and then closed it again. It was really ups and downs... The portraits of vxk, wowocock, and others are very familiar... I miss college and can do what I like.
Next, I want to find a virus code. Oh, maybe this is my casual approach. Even if many things seem a little unfamiliar, the general framewo
The following error occurs when SpringMVC integrates DWR over the past few days:
Multiple annotations found at this line:-Cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dwr: annotation-config '.-Schema_reference.4: Failed to read schema document 'HTTP: // www.directwebremoting.org/schema/spring-dwr/spring-dwr-3.0.xsd', because 1)Cocould not find the document; 2) the document cocould not be read; 3
certainly not the best way to solve the problem.Operation Method: (borrowed from, directly copied)1. Menu "Windows"-"preperences"-"Validation"?2. Find "XML Validator" on the right, and leave the "Bulid" check box selected, and leave the "Manual" selected state.(PS: Because we finally need to ensure the correctness of the XML, this can be done by selecting the XML file, in the right-click menu, select "Validate" manually to verify that if the XML is wrong, will pop-up window prompt. But if the "
Create a new project in Web. Xml something was found async-supported reported Red forkcvc-complex-type.2.4.a:invalid content is found starting with element ' async-supported '.Find a lot of finally found the table head to modify it, this is a simple solution;Xmlns= "Http://java.sun.com/xml/ns/javaee"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instanceHttp://www.springmodules.org/schema/cache/springmodules-cache.xsdHttp://www.springmodules.org/schema/cache/springmodules-ehcache.xsd "Xsi:schemalo
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.